import request from "@/utils/request";

export function listOnlineUsers(param) {
    return request({
        url:'/admin/users/online',
        method:'get',
        params:param
    })
}

export function removeOnlineUser(userInfoId) {
    return request({
        url:'/admin/users/' + userInfoId + '/online',
        method:'delete',
    })
}
